/**  
 * Project Name:api-webhook  
 * File Name:FamilyMemberEntity.java  
 * Package Name:com.example.service.webhook.business.carrier.entity  
 * Date:2016年7月25日下午10:21:28  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.insurance.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * ClassName: InsurancePolicyBaseInfoEntity    
 * date: 2017年1月11日 下午10:04:35   
 * @author yuandong  
 * @version   
 * @since JDK 1.6
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class InsurancePolicyBaseInfoEntity implements Saveable{
	private long id;
	private String userId;
    private String mappingId;
    private String policyNum;  // 保险单号
    private String idCardNum;  // 身份证
    private String insuranceCompany; // 保险公司名称缩写
    private String insuranceName; // 险种名称
    private String insurant; // 被保险人
    private String applicant; // 投保人
    private String plateNum;  // 车牌号
    private String insuranceStartDate; // 保险起始时间
    private String insuranceEndDate; // 保险结束时间
    private String brandModel;  // 厂牌型号
    private String engineerNum; // 发动机号
    private String vehicleFrameNum; // 车架号
    private String approvedLoad; // 核定载重质量
    private String approvedPassengersCapacity; // 核定载客数量
    private String vehicleType; // 车辆类型
    private String useCharacter; // 使用性质
    private String insuranceStatus; // 保单状态
    private BigDecimal insuranceAmount; // 总保额
    private BigDecimal insurancePremium; // 应缴保费金额
    private BigDecimal paidInsurancePremium; // 已交保费金额
    private BigDecimal nonPaidInsurancePremium; // 欠缴保费
    private String     paymentDate;  // 缴费日期
    private String     modeofPayment; // 支付方式

    private Date createTime;
    private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_insurance_policy_baseinfo";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public String getPolicyNum() {
		return policyNum;
	}

	public void setPolicyNum(String policyNum) {
		this.policyNum = policyNum;
	}

	public String getIdCardNum() {
		return idCardNum;
	}

	public void setIdCardNum(String idCardNum) {
		this.idCardNum = idCardNum;
	}

	public String getInsuranceCompany() {
		return insuranceCompany;
	}

	public void setInsuranceCompany(String insuranceCompany) {
		this.insuranceCompany = insuranceCompany;
	}

	public String getInsuranceName() {
		return insuranceName;
	}

	public void setInsuranceName(String insuranceName) {
		this.insuranceName = insuranceName;
	}

	public String getInsurant() {
		return insurant;
	}

	public void setInsurant(String insurant) {
		this.insurant = insurant;
	}

	public String getApplicant() {
		return applicant;
	}

	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}

	public String getPlateNum() {
		return plateNum;
	}

	public void setPlateNum(String plateNum) {
		this.plateNum = plateNum;
	}

	public String getInsuranceStartDate() {
		return insuranceStartDate;
	}

	public void setInsuranceStartDate(String insuranceStartDate) {
		this.insuranceStartDate = insuranceStartDate;
	}

	public String getInsuranceEndDate() {
		return insuranceEndDate;
	}

	public void setInsuranceEndDate(String insuranceEndDate) {
		this.insuranceEndDate = insuranceEndDate;
	}

	public String getBrandModel() {
		return brandModel;
	}

	public void setBrandModel(String brandModel) {
		this.brandModel = brandModel;
	}

	public String getEngineerNum() {
		return engineerNum;
	}

	public void setEngineerNum(String engineerNum) {
		this.engineerNum = engineerNum;
	}

	public String getVehicleFrameNum() {
		return vehicleFrameNum;
	}

	public void setVehicleFrameNum(String vehicleFrameNum) {
		this.vehicleFrameNum = vehicleFrameNum;
	}

	public String getApprovedLoad() {
		return approvedLoad;
	}

	public void setApprovedLoad(String approvedLoad) {
		this.approvedLoad = approvedLoad;
	}

	public String getApprovedPassengersCapacity() {
		return approvedPassengersCapacity;
	}

	public void setApprovedPassengersCapacity(String approvedPassengersCapacity) {
		this.approvedPassengersCapacity = approvedPassengersCapacity;
	}

	public String getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}

	public String getUseCharacter() {
		return useCharacter;
	}

	public void setUseCharacter(String useCharacter) {
		this.useCharacter = useCharacter;
	}

	public String getInsuranceStatus() {
		return insuranceStatus;
	}

	public void setInsuranceStatus(String insuranceStatus) {
		this.insuranceStatus = insuranceStatus;
	}

	public BigDecimal getInsuranceAmount() {
		return insuranceAmount;
	}

	public void setInsuranceAmount(BigDecimal insuranceAmount) {
		this.insuranceAmount = insuranceAmount;
	}

	public BigDecimal getInsurancePremium() {
		return insurancePremium;
	}

	public void setInsurancePremium(BigDecimal insurancePremium) {
		this.insurancePremium = insurancePremium;
	}

	public BigDecimal getPaidInsurancePremium() {
		return paidInsurancePremium;
	}

	public void setPaidInsurancePremium(BigDecimal paidInsurancePremium) {
		this.paidInsurancePremium = paidInsurancePremium;
	}

	public BigDecimal getNonPaidInsurancePremium() {
		return nonPaidInsurancePremium;
	}

	public void setNonPaidInsurancePremium(BigDecimal nonPaidInsurancePremium) {
		this.nonPaidInsurancePremium = nonPaidInsurancePremium;
	}

	public String getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(String paymentDate) {
		this.paymentDate = paymentDate;
	}

	public String getModeofPayment() {
		return modeofPayment;
	}

	public void setModeofPayment(String modeofPayment) {
		this.modeofPayment = modeofPayment;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	
    
    
}
  
